//
//  PlayTableViewCell.m
//  CivilianTravel
//
//  Created by xalo on 16/7/14.
//  Copyright © 2016年 许仕杰. All rights reserved.
//

#import "PlayTableViewCell.h"
#import "SpotModel.h"

@interface PlayTableViewCell ()
@property (weak, nonatomic) IBOutlet UIImageView *image;
@property (weak, nonatomic) IBOutlet UILabel *title;

@property (weak, nonatomic) IBOutlet UILabel *Detailedtitle;

@end
@implementation PlayTableViewCell

-(void)lodingWithModol:(SpotModel *)modol{
    
    [self.image sd_setImageWithURL:[NSURL URLWithString:modol.avatar]];
    
    self.title.text = modol.name;
    self.Detailedtitle.text = modol.shortdesc;
    
}
- (void)awakeFromNib {
    // Initialization code
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
